function createTabH(a) {
    var d, b = 0, c = jQuery.jCookie("htabIndex");
    "false" == c || (b = parseInt(c), isNaN(b) && (b = 0)), d = "IE6" == broswerFlag ? $('<div class="htab_ie6"></div>') : $('<div class="htab"></div>'), 
    $("#bs_bannerright").append(d), $.each(a.list, function(a, b) {
        var c = $('<a href="javascript:;"><b></b></a>'), e = c.find("b");
        b.name && e.text(b.name), b.id && c.attr("id", b.id), d.append(c);
    }), d.find(">a").each(function(a) {
        if ($(this).click(function() {
            d.find(">a").removeClass("current"), $(this).addClass("current");
            var b = $(this).attr("id");
            changeLeftMenu(b), jQuery.jCookie("htabIndex", a.toString());
        }), a == b) {
            $(this).addClass("current");
            var c = $(this).attr("id");
            listData = getListData(c);
        }
    });
}

function changeLeftMenu(a) {
    listData = getListData(a), null != listData && document.getElementById("frmleft").contentWindow.initTreeMenu(listData);
}

var listData;